package com.ruoyi.school.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 专业信息对象 major_information
 * 
 * @author ruoyi
 * @date 2024-01-25
 */
public class MajorInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 学校名称 */
    @Excel(name = "学校名称")
    private String schoolName;

    /** 门类 */
    @Excel(name = "门类")
    private String majorCategories;

    /** 专业 */
    @Excel(name = "专业")
    private String major;

    /** 考试方式 */
    @Excel(name = "考试方式")
    private String majorExam;

    /** 学习方式 */
    @Excel(name = "学习方式")
    private String majorStudy;

    /** 招生人数 */
    @Excel(name = "招生人数")
    private Long majorNumber;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSchoolName(String schoolName) 
    {
        this.schoolName = schoolName;
    }

    public String getSchoolName() 
    {
        return schoolName;
    }
    public void setMajorCategories(String majorCategories) 
    {
        this.majorCategories = majorCategories;
    }

    public String getMajorCategories() 
    {
        return majorCategories;
    }
    public void setMajor(String major) 
    {
        this.major = major;
    }

    public String getMajor() 
    {
        return major;
    }
    public void setMajorExam(String majorExam) 
    {
        this.majorExam = majorExam;
    }

    public String getMajorExam() 
    {
        return majorExam;
    }
    public void setMajorStudy(String majorStudy) 
    {
        this.majorStudy = majorStudy;
    }

    public String getMajorStudy() 
    {
        return majorStudy;
    }
    public void setMajorNumber(Long majorNumber) 
    {
        this.majorNumber = majorNumber;
    }

    public Long getMajorNumber() 
    {
        return majorNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("schoolName", getSchoolName())
            .append("majorCategories", getMajorCategories())
            .append("major", getMajor())
            .append("majorExam", getMajorExam())
            .append("majorStudy", getMajorStudy())
            .append("majorNumber", getMajorNumber())
            .toString();
    }
}
